/*
 * @Date: 2022-03-24 16:54:25
 * @LastEditors: 春贰
 * @gitee: https://gitee.com/chun22222222
 * @github: https://github.com/chun222
 * @Desc:
 * @LastEditTime: 2022-03-30 12:24:16
 * @FilePath: \server\system\model\RequestModel\sys.go
 */
package RequestModel

import (
	"mime/multipart"

	"go2admin_pure/system/model/CommonModel"
)

type SysRecord struct {
	CommonModel.PageInfo

	Username string `json:"username" search:"like"`
	Url      string `json:"url" search:"like"`
	Desc     string `json:"desc" search:"like"`
	Ip       string `json:"ip" search:"like"`
}

type SysConfig struct {
	CommonModel.PageInfo
	Name  string `json:"name" search:"like"`
	Group string `json:"group" search:"like"`
	Desc  string `json:"desc" search:"like"`
}

type FileUpload struct {
	File    multipart.FileHeader `form:"file" json:"file"`
	Path    []string             `form:"path[]" json:"path"`
	Dirname string               `json:"dirname"` //新建文件夹用到
}
